package com.website.mybatis.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface AllDao<T> extends BaseMapper<T> {

	@Select(value = "${sql}")
    List<Map<String,Object>> selectBySql(@Param(value = "sql") String sql);
}
